package com.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.entity.TushujieyueEntity;
import com.entity.view.TushujieyueView;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 图书借阅
 *
 * @author
 * @email
 * @date 2021-03-20 13:31:53
 */
@Mapper
public interface TushujieyueDao extends BaseMapper<TushujieyueEntity> {

	List<TushujieyueView> selectListView(@Param("ew") Wrapper<TushujieyueEntity> wrapper);

	List<TushujieyueView> selectListView(Pagination page,@Param("ew") Wrapper<TushujieyueEntity> wrapper);

	TushujieyueView selectView(@Param("ew") Wrapper<TushujieyueEntity> wrapper);

}
